﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserControl/UI/MainSite.Master" AutoEventWireup="true" CodeBehind="ShopBusiness.aspx.cs" Inherits="UI.Module.ShopManage.ShopBusiness" %>

<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Data" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 class="mbx">门店管理 &gt; 营业信息 &nbsp;&nbsp;&nbsp;</h2>
    <div class="morebt"></div>
    <div class="dhbg">
        <style>
            .store_name {
                position: absolute;
                font-size: 20px;
                color: rgb(54,144,222);
                left: 50px;
                top: 25px;
            }

            .store_no {
                position: absolute;
                font-size: 20px;
                color: white;
                left: 4px;
                top: 0px;
            }

            .store_img {
                position: absolute;
                width: 100px;
                height: 100px;
                left: 10px;
                top: 60px;
            }

            .dhwz span {
                color: red;
            }

            .dhh0 {
                margin: 0 27px 15px 0;
                position: relative;
            }

            .dhh1 {
                margin: 0 0px 15px 0;
                position: relative;
            }
        </style>

        <%for (int i = 0; i < shopList.Tables[0].Rows.Count; i++)
          { %>
        <div class="dh1 dhh<%=i%2%>">
            <div class="store_name"><%=shopList.Tables[0].Rows[i]["STitle"].ToString() %></div>
            <div class="store_img">
                <img src="../../images/store_bg.jpg" width="100" height="100"/></div>
            <div class="store_no">0<%=i+1 %></div>
            <div class="dhwz">
                <p>
                    开业时长：<span>已正常经营 &nbsp; <%=shopList.Tables[0].Rows[i]["exedate"].ToString() %> &nbsp;天</span>
                </p>
                <p>
                    营业时间：<span><%=shopList.Tables[0].Rows[i]["ShopHours"].ToString() %></span>
                </p>

                <div class="btright">
                    <a href="../InvestmentIncome/ShopBuildMoney.aspx?id=<%=shopList.Tables[0].Rows[i]["ShopID"].ToString() %>">查看详细</a>
                </div>
            </div>
        </div>
        <%  } %>
    </div>
</asp:Content>
